<template>
  <div class="home-top">
    <div class="ht-top">
      <div style="float: left; padding-left:1rem; color:#fff">
        <span><van-icon name="aim" size="20"/></span>
        <span style="position: relative; bottom:0.3rem;">&ensp;南京.鼓楼区</span>
      </div>
      <div style="float: right; padding-right:1rem; color:#fff">
        <span><van-icon name="scan" size="20" /></span>
        <span style="position: relative; bottom:0.2rem;">&ensp;扫码</span>
      </div>
    </div>
    <div class="ht-search">
      <van-search
      v-model="value"
      placeholder="Search..."
      background="#b22222"
      shape="round"
    />
    </div>
  </div>
</template>

<script>
export default {
  name: 'homeTop',
  data () {
    return {
      value: ''
    }
  },
}
</script>

<style scoped lang="scss">
.home-top {
  height: 6.5rem;
  background-color: #b22222;

  .ht-top {
    height: 1.5rem;
    padding-top: 1rem;
    border: #b22222 1px solid;
  }
  .ht-search {
    width: 100%;
  }
}
</style>
